package one.stand.model;

import java.io.Serializable;
import java.util.Date;

public class UserChat implements Serializable {
    private Integer id;

    private Integer userId;

    private String chatUserId;

    private String chatUserPassword;

    private String nickName;

    private String photo;

    private Integer status;

    private Date createTime;

    private Date updateTime;

    private static final long serialVersionUID = 1L;

    public UserChat(Integer id, Integer userId, String chatUserId, String chatUserPassword, String nickName, String photo, Integer status, Date createTime, Date updateTime) {
        this.id = id;
        this.userId = userId;
        this.chatUserId = chatUserId;
        this.chatUserPassword = chatUserPassword;
        this.nickName = nickName;
        this.photo = photo;
        this.status = status;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public UserChat() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getChatUserId() {
        return chatUserId;
    }

    public void setChatUserId(String chatUserId) {
        this.chatUserId = chatUserId == null ? null : chatUserId.trim();
    }

    public String getChatUserPassword() {
        return chatUserPassword;
    }

    public void setChatUserPassword(String chatUserPassword) {
        this.chatUserPassword = chatUserPassword == null ? null : chatUserPassword.trim();
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName == null ? null : nickName.trim();
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo == null ? null : photo.trim();
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}